<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/taglibs.jspf" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="decorator" content="form"/>
    <style>
        .table > thead > tr > th,
        .table > tbody > tr > th,
        .table > tfoot > tr > th,
        .table > thead > tr > td,
        .table > tbody > tr > td,
        .table > tfoot > tr > td {
            vertical-align: middle;
        }
    </style>
</head>

<body class="white-bg" formid="noticeForm">
<form:form id="noticeForm" modelAttribute="data" action="" method="post" class="form-horizontal">
    <table class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
        <tbody>
        <tr>
            <td class="active"><label class="pull-right"><font color="red">*</font>到期时间:</label></td>
            <td>
                <form:input path="expirationDate" nullmsg="请输入到期时间！" lay-verify="date" datatype="*"
                            placeholder="yyyy-MM-dd HH:mm:ss" autocomplete="off" class="layui-input"/>
                <label class="Validform_checktip"></label>
            </td>
        </tr>
        <tr>
            <td class="width-15 active text-right"><label><font color="red">*</font>公告内容:</label></td>
            <td class="width-35">
                <form:textarea path="content" class="form-control" nullmsg="请输入公告内容！" rows="9" datatype="*"/>
                <label class="Validform_checktip"></label>
            </td>
        </tr>
        </tbody>
    </table>
</form:form>
<script>
    layui.use('laydate', function () {
        var laydate = layui.laydate;
        //常规用法
        laydate.render({
            elem: '#expirationDate',
            type: 'datetime'
        });
    })
</script>
</body>
</html>